package cn.edu.scau.cmi.zhangjunming.adapter;

import java.util.List;

public class SortUtil implements Target{

	public List sortInt(List<Integer> intList) {
		
		for(int i=intList.size()-1;i>0;i--) {
			for(int j=0;j<i;j++) {
				if(intList.get(j)>intList.get(i)) {
					int temp = intList.get(j);
					intList.set(j, intList.get(i));
					intList.set(i,temp);
				}
			}
		}	
		return intList;
	}
}
